package cn.zero.sentinel;

import cn.zero.User;
import org.springframework.web.bind.annotation.PathVariable;

public class OrderFallBack {

    public static User getUserByIdFallback(@PathVariable("id") Long id, Throwable e){
        return new User(-1L, "降级", "完了！");
    }
}
